package com.deyuanyun.pic.settings.mapper.org;

import java.util.HashMap;
import java.util.List;

import com.deyuanyun.pic.settings.controller.dto.org.DeptDTO;
import com.deyuanyun.pic.settings.controller.dto.org.DeptVO;
import com.deyuanyun.pic.settings.domain.org.Dept;
import com.github.pagehelper.Page;

public interface DeptMapper {
    int deleteByPrimaryKey(HashMap param);

    int insert(Dept record);

    int insertSelective(Dept record);

    Dept selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Dept record);

    int updateByPrimaryKey(Dept record);

    int updateState(HashMap param);

    List<DeptDTO> queryAll(DeptVO deptVO);
}